package com.example.easypoi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.easypoi.entity.DigitalElasticElement;
import com.example.easypoi.entity.DigitalPressureGauge;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

public interface ExcelImportService {

    List<List<Object>> importFile (MultipartFile multipartFile);

    List<List<Object>> readXls(InputStream inputStream);

    public String getXlsValue(HSSFCell cell);

    public String templateDerive(DigitalPressureGauge digitalPressureGauge);

    public IPage<DigitalPressureGauge> getAllDigitalPressureGauge(DigitalPressureGauge digitalPressureGauge, Integer pageNumber, Integer pageSize);

    public List<DigitalPressureGauge> getAllData1004();

    public IPage<DigitalElasticElement> getAllDigitalElasticElement(DigitalElasticElement digitalElasticElement, Integer pageNumber, Integer pageSize);

    public List<DigitalElasticElement> getAllData1005();

    String exportElastic(DigitalElasticElement digitalElasticElement1);
}
